﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Xml.Linq;

namespace IronOne.SalesOne.BusinessObjects
{
    public class Message
    {
        #region Private variables

        private string  _MessageBody;
        private DateTime  _Created;
        private Guid _CreatedBy;
        private string _SoCodeId;
        private int _MessageFromUserTypeID;
        private int _UserTypeId;
        private int _NodeId;

        #endregion  

        #region Public Properties

        public string UserTypename
        { get; set; }

        

        public string MessageType
        { get; set; }

        public string BranchName
        { get; set; }

        public string SoCodeId
        {get;set;}

        public string MessageBody
        {get;set;}

        public int Message_ID
        {get; set;}

        public DateTime Created
        {
            get
            {
                return _Created;
            }
            set
            {
                _Created = value;
            }
        }

        public Guid CreatedBy
        {
            get
            {
                return _CreatedBy;
            }
            set
            {
                _CreatedBy = value;
            }
        }

        public DateTime? Modified
        {
            get;
            set;
        }

        public Guid? ModifiedBy
        {
            get;
            set;
        }

        public string Branch
        { get; set; }   

        public string UserType
        { get; set; }

       

        public int MessageFromUserTypeID
        {
            get
            {
                return _MessageFromUserTypeID;
            }
            set
            {
                _MessageFromUserTypeID = value;
            }

        }

        public int UserTypeId
        {
            get
            {
                return _UserTypeId;
            }
            set
            {
                _UserTypeId = value;
            }

        }

        public int NodeId
        {
            get
            {
                return _NodeId;
            }
            set
            {
                _NodeId = value;
            }

        }

      


        #endregion
    }
}
